﻿<div class="row">
    <div class="toolbar">
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.UpdatePermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="edit()">
                <i class="fa fa-edit fa-fw"></i>Xem
            </button>
        }

        @if (Utilities.ConvertUtility.BoolParse(ViewBag.DeletePermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="confirmDelete()">
                <i class="fa fa-trash-o fa-fw"></i>Xóa
            </button>
        }
    </div>
</div>
